﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="article.aspx.cs" Inherits="backstage_article" %>

<%@ Register Assembly="FredCK.FCKeditorV2" Namespace="FredCK.FCKeditorV2" TagPrefix="FCKeditorV2" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>
        <%Response.Write(GetTitle()); %>
    </title>
    <link href="css/skin.css" rel="stylesheet" type="text/css" />
</head>

<script type="text/javascript" src="js/main.js"></script>

<script type="text/javascript" src="js/jquery.min.js"></script>

<script type="text/javascript" src="js/jquery.js"></script>

<script language="javascript" type="text/javascript" src="/My97DatePicker/WdatePicker.js"
    charset="utf-8"></script>

<body class="body">
    <table class="main" cellpadding="0" cellspacing="0">
        <tr>
            <td class="td_left_top">
                <img alt="" src="images/left-top-right.gif" /></td>
            <td class="td_middle_top">
                <div class="left_topbg">
                    <div class="titlebt">
                        <%Response.Write(GetTitle()); %>
                    </div>
                </div>
            </td>
            <td class="td_right_top">
                <img alt="" src="images/nav-right-bg.gif" /></td>
        </tr>
        <tr>
            <td class="td_left_middle">
            </td>
            <td class="td_middle_middle">
                <div class="maincontent">
                    <form id="form1" runat="server">
                        <table cellpadding="0" cellspacing="0" style="width: 100%">
                            <tr>
                                <td class="td_title">
                                    文章标题：</td>
                                <td class="td_content">
                                    <input id="txtArticleTilte" type="text" runat="server" />*</td>
                            </tr>
                            <tr>
                                <td class="td_title">
                                    文章分类：</td>
                                <td class="td_content">
                                    <select id="selectType" name="articleType">
                                        <%Response.Write(ArticleTypeBind()); %>
                                    </select>
                                    *
                                </td>
                            </tr>
                            <tr>
                                <td class="td_title">
                                    作者：</td>
                                <td class="td_content">
                                    <input id="txtAuthor" type="text" runat="server" />*</td>
                            </tr>
                            <tr>
                                <td class="td_title">
                                    是否发布：</td>
                                <td class="td_content">
                                    <input id="rdIsShow1" name="isShow" type="radio" runat="server" value="1" />是&nbsp;&nbsp;<input
                                        id="rdIsShow0" name="isShow" type="radio" runat="server" value="0" />否</td>
                            </tr>
                            <tr>
                                <td class="td_title">
                                    文章内容：</td>
                                <td class="td_content">
                                    <FCKeditorV2:FCKeditor ID="fckArticleContent" runat="server" BasePath="/fckeditor/"
                                        Height="400px">
                                    </FCKeditorV2:FCKeditor>
                                </td>
                            </tr>
                            <tr>
                                <td class="td_title">
                                    页面关键词：</td>
                                <td class="td_content">
                                    <input id="txtKeywords" type="text" runat="server" />*</td>
                            </tr>
                            <tr>
                                <td class="td_title">
                                    页面描述：</td>
                                <td class="td_content">
                                    <textarea id="txtaDescription" cols="20" rows="2" runat="server"></textarea>*</td>
                            </tr>
                            <tr>
                                <td colspan="2">
                                    <asp:Button ID="btnSubmit" runat="server" Text="确  定" CssClass="formButton" OnClick="btnSubmit_Click" />&nbsp;&nbsp;&nbsp;&nbsp;
                                    <input id="btnBack" type="button" class="formButton" value=" 返  回 " onclick="location.href='article_list.aspx?atId=<%=atId %>';" /></td>
                            </tr>
                        </table>
                    </form>
                </div>
            </td>
            <td class="td_right_middle">
            </td>
        </tr>
        <tr>
            <td class="td_left_bottom">
                <img alt="" src="images/buttom_left2.gif" />
            </td>
            <td class="td_middle_bottom">
                <img alt="" src="images/buttom_bgs.gif" />
            </td>
            <td class="td_right_bottom">
                <img alt="" src="images/buttom_right2.gif" />
            </td>
        </tr>
    </table>
</body>
</html>
